﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E2F RID: 3631
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReturnLastTownCsReq : IMessage<ReturnLastTownCsReq>, IMessage, IEquatable<ReturnLastTownCsReq>, IDeepCloneable<ReturnLastTownCsReq>, IBufferMessage
	{
		// Token: 0x17002E1D RID: 11805
		// (get) Token: 0x0600A2F7 RID: 41719 RVA: 0x001B5E3E File Offset: 0x001B403E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReturnLastTownCsReq> Parser
		{
			get
			{
				return ReturnLastTownCsReq._parser;
			}
		}

		// Token: 0x17002E1E RID: 11806
		// (get) Token: 0x0600A2F8 RID: 41720 RVA: 0x001B5E45 File Offset: 0x001B4045
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReturnLastTownCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E1F RID: 11807
		// (get) Token: 0x0600A2F9 RID: 41721 RVA: 0x001B5E57 File Offset: 0x001B4057
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReturnLastTownCsReq.Descriptor;
			}
		}

		// Token: 0x0600A2FA RID: 41722 RVA: 0x001B5E5E File Offset: 0x001B405E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReturnLastTownCsReq()
		{
		}

		// Token: 0x0600A2FB RID: 41723 RVA: 0x001B5E66 File Offset: 0x001B4066
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReturnLastTownCsReq(ReturnLastTownCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A2FC RID: 41724 RVA: 0x001B5E7F File Offset: 0x001B407F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReturnLastTownCsReq Clone()
		{
			return new ReturnLastTownCsReq(this);
		}

		// Token: 0x0600A2FD RID: 41725 RVA: 0x001B5E87 File Offset: 0x001B4087
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReturnLastTownCsReq);
		}

		// Token: 0x0600A2FE RID: 41726 RVA: 0x001B5E95 File Offset: 0x001B4095
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReturnLastTownCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600A2FF RID: 41727 RVA: 0x001B5EB4 File Offset: 0x001B40B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A300 RID: 41728 RVA: 0x001B5EDA File Offset: 0x001B40DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A301 RID: 41729 RVA: 0x001B5EE2 File Offset: 0x001B40E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A302 RID: 41730 RVA: 0x001B5EEB File Offset: 0x001B40EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A303 RID: 41731 RVA: 0x001B5F04 File Offset: 0x001B4104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A304 RID: 41732 RVA: 0x001B5F2A File Offset: 0x001B412A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReturnLastTownCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A305 RID: 41733 RVA: 0x001B5F47 File Offset: 0x001B4147
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A306 RID: 41734 RVA: 0x001B5F50 File Offset: 0x001B4150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004269 RID: 17001
		private static readonly MessageParser<ReturnLastTownCsReq> _parser = new MessageParser<ReturnLastTownCsReq>(() => new ReturnLastTownCsReq());

		// Token: 0x0400426A RID: 17002
		private UnknownFieldSet _unknownFields;
	}
}
